package com.bdqn.BookManage.po;

import java.util.Date;

/**
 * @author : CP
 * @version: 1.0
 * @program : BookManage
 * @description : 图书信息实体类
 * @date : 2020-07-16 16:03
 **/
public class BookInfo {
    /** 图书编号 */
    private Integer id;
    /** 书名 */
    private String bookName;
    /** 价格 */
    private Double price;
    /** 书本类型编号 */
    private Integer typeId;
    /** 出版时间 */
    private Date bornDate;
    /** 封面路径 */
    private String imgUrl;
    /** 审核状态（-1未审核,1已审核） */
    private Integer state;
    /** 库存 */
    private Integer stock;

    public Integer getId() {
        return id;
    }

    public void setId(Integer id) {
        this.id = id;
    }

    public String getBookName() {
        return bookName;
    }

    public void setBookName(String bookName) {
        this.bookName = bookName;
    }

    public Double getPrice() {
        return price;
    }

    public void setPrice(Double price) {
        this.price = price;
    }

    public Integer getTypeId() {
        return typeId;
    }

    public void setTypeId(Integer typeId) {
        this.typeId = typeId;
    }

    public Date getBornDate() {
        return bornDate;
    }

    public void setBornDate(Date bornDate) {
        this.bornDate = bornDate;
    }

    public String getImgUrl() {
        return imgUrl;
    }

    public void setImgUrl(String imgUrl) {
        this.imgUrl = imgUrl;
    }

    public Integer getState() {
        return state;
    }

    public void setState(Integer state) {
        this.state = state;
    }

    public Integer getStock() {
        return stock;
    }

    public void setStock(Integer stock) {
        this.stock = stock;
    }
}
